]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
st-scroll-view: remove spurious assignment of uninitialized data
authorChristopher Aillon <caillon@redhat.com>
Fri, 6 May 2011 19:36:52 +0000 (12:36 -0700)
committerColin Walters <walters@verbum.org>
Wed, 11 May 2011 20:19:00 +0000 (16:19 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=649596

src/st/st-scroll-view.c

index 618648a369a1881e1e49b199b6e36ff2f2d9cdcd..47db3e2fbd8f0a7c190c4419eb84d4e94d44e5a1 100644 (file)
@@ -422,8 +422,6 @@ st_scroll_view_get_preferred_height (ClutterActor *actor,
   clutter_actor_get_preferred_width (priv->child, -1,
                                      &child_min_width, NULL);
 
-  natural_height = child_natural_height;
-
   if (min_height_p)
     *min_height_p = 0;